//
//  DTCLocalPushManager.h
//  LocalPush
//
//  Created by JianWei Chen on 2017/5/15.
//  Copyright © 2017年 JianWei Chen. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
#import <UserNotifications/UserNotifications.h>

typedef BOOL (^DTCLocalNotificationBlock) (id notification);

@interface DTCLocalPushManager : NSObject

+ (DTCLocalPushManager *)defalutService;

- (void)startLaunchOptions:(NSDictionary *)launchOptions;

- (void)addLocalNotificationByBody:(NSString *)body sound:(NSString *)soundName date:(NSDate *)date userInfo:(NSDictionary *)userInfo repeat:(BOOL)repeat;

- (void)removeLocalNotification:(DTCLocalNotificationBlock)notificationRemoveAction;

- (void)removeAllLocalNotification;

- (void)addLocalNotificationByBody:(NSString *)body date:(NSDate *)date;

@end
